package com.ruoyi.system.service.aggregation;

import java.util.List;
import com.ruoyi.system.domain.aggregation.Withdraw;

/**
 * 提现Service接口
 * 
 * @author ruoyi
 * @date 2025-01-01
 */
public interface IWithdrawService 
{
    public Withdraw selectWithdrawById(Long id);
    public List<Withdraw> selectWithdrawList(Withdraw withdraw);
    
    /**
     * 提现申请
     */
    public void applyWithdraw(Long userId, Integer userType, Long amount);
    
    /**
     * 提现审核
     */
    public void checkWithdraw(Long id, Integer statue, String reason);
    
    public int updateWithdraw(Withdraw withdraw);
}

